export function setToken(val) {
  return localStorage.setItem('token', val)
}

export function removeToken() {
  return localStorage.removeItem('token')
}

export function getToken() {
  return localStorage.getItem('token')
}

export function isLogin() {
  if (getToken) {
    return true
  } else {
    return false
  }
}
